<!doctype html>
<html lang="en">

	<head>
		<meta charset="UTF-8" />
		<title>好友列表</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="css/mui.min.css" />
		<style>
			.wrap {
				padding: 0px 15px;
				position: relative;
			}
			
			.wrap a {
				margin-top: 30px;
				padding-left: 30px;
				background: #E5E5E5;
				border-radius: 10px;
				display: block;
				width: 100%;
				height: 50px;
				line-height: 50px;
				color: #222222;
			}
			
			.wrap a:after {
				content: '';
				background: #DDDDE0;
				height: 1px;
				width: 100%;
				position: absolute;
				left: 0;
				bottom: -30px;
			}
			
			.wrap a>img {
				margin-right: 30px;
				vertical-align: middle;
			}
			
			.whole {
				margin-top: 45px;
				padding: 0 15px;
			}
			
			.whole p {
				margin: 0;
				padding-left: 10px;
			}
			
			.whole .list{
				padding: 10px 15px 5px;
				width: 100%;
				display: flex;
				background: #fff;
				justify-content: space-between;
				align-items: center;
				margin-bottom: 15px;
			}
			
			.whole img {
				width: 50px;
				height: 50px;
				border: 1px solid #DDDDE0;
			}
			.whole .list a{
				display: flex;
				align-items: center;
			}
		</style>
	</head>

	<body>

		<header class="mui-bar mui-bar-nav">
			<a href="javascript:history.go(-1)" class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 class="mui-title">好友列表</h1>
		</header>

		<!--添加按钮-->
		<div class="mui-content wrap">
			<a href="add_friends.html"><img src="img/add.png" alt="" />添加好友</a>
		</div>

		<div class="whole">
			<div class="list">
				<a href="friends_deal.html">
					<p><img src="img/logo1.png" alt="" /></p>
					<p>昵称:5oGt5Zac5L2gDQo=1</p>
				</a>
					<p><span class="mui-icon mui-icon-trash del"></span></p>
			</div>
			<div class="list">
				<a href="friends_deal.html">
					<p><img src="img/logo1.png" alt="" /></p>
					<p>昵称:5oGt5Zac5L2gDQo=1</p>
				</a>
					<p><span class="mui-icon mui-icon-trash del"></span></p>
			</div>
			<div class="list">
				<a href="friends_deal.html">
					<p><img src="img/logo1.png" alt="" /></p>
					<p>昵称:5oGt5Zac5L2gDQo=1</p>
				</a>
					<p><span class="mui-icon mui-icon-trash del"></span></p>
			</div>
			<div class="list">
				<a href="friends_deal.html">
					<p><img src="img/logo1.png" alt="" /></p>
					<p>昵称:5oGt5Zac5L2gDQo=1</p>
				</a>
					<p><span class="mui-icon mui-icon-trash del"></span></p>
			</div>

		</div>
		<script src="js/jquery-3.3.1.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/mui.min.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			mui.init()
			
			$(".whole").on('tap','.del',function(){
				let index = $('.del').index(this);
				$(".list").eq(index).fadeOut(50);
			})
		</script>
	</body>

</html>